package com.nagarro.util;


public class Constants {

	// Input Parameters
	public static final String ITEM_NAME = "-name";
	public static final String ITEM_PRICE = "-price";
	public static final String ITEM_QUANITTY = "-quantity";
	public static final String ITEM_TYPE = "-type";	
	
	// Legal Item Types
	public static final String RAW_ITEM = "RAW";
	public static final String MANUFACTURED_ITEM = "MANUFACTURED";
	public static final String IMPORTED_ITEM = "IMPORTED";
	
	// Project Properties
	public static final int NUM_OF_TOKENS_WITHOUT_NAME = 7;
	
	// Console Messages
	public static final String INPUT_FORMAT ="[Input Format] -name <name> -price <price> -type <type> -quantity <quantity>";
	public static final String INPUT_FORMAT_NOTE = "[Note] Price, Quantity and Type can be entered in any order. ";
	public static final String ASK_USER_INPUT = "Enter Item Details : ";
	public static final String CONTINUE_OR_NOT = "Do you wish to add another item ? <Y/N>";
	
	// Error Messages
	public static final String INVALID_INPUT = "Invalid Input. ";
	public static final String ERROR_FIELD_MISSING = INVALID_INPUT+"Field(s) Missing";
	public static final String ERROR_INVALID_QUANTITY = INVALID_INPUT+"Not a valid integer input for quantity";
	public static final String ERROR_INVALID_PRICE = INVALID_INPUT+"Not a valid float input for price";
	public static final String ERROR_INVALID_ITEM_TYPE = INVALID_INPUT+"Item Type must be Raw, Manufactured or Imported";
	public static final String ERROR_NAME_NOT_FIRST_INPUT = INVALID_INPUT+"Name should be the first parameter.";
	public static final String ERROR_NULL_VALUE = "Invalid Item Encountered";
	
}
